Creating an Interactive Plot using Holoviews()

March 26, 2021

The first column is time in seconds, the second column is the accelerating voltage in volts, and the third column is the Franck-Hertz signal in voltage. (The Franck-Hertz signal is a current that is converted into a voltage.)

We are interested in creating a plot of the Franck-Hertz signal as a function of the accelerating voltage.

To make interactive plots that can be zoomed and panned to examine the features of these plots in detail, we will need two new modules. There modules are not 'standard', so we will have to install them first.

We can now construct our interactive plots. The syntax is a little unintuitive. We first have to use xarray to create the proper data structure to use in holoviews